/*
* @(#)AttributeMissingException.java
*
* Copyright (c) 2007 DCIVision Ltd
* All rights reserved.
*
* This software is the confidential and proprietary information of DCIVision
* Ltd ("Confidential Information").  You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the license
* agreement you entered into with DCIVision Ltd.
*/
package com.dcivision.ldap.core;

/**
 * <p>Class Name:       AttributeMissingException.java    </p>
 * <p>Description:      AttributeMissingException throw when there is a missing attribute during 
 *                      LDAP import validation
 * 
 * @author              Ryan Kwan
 * @company             DCIVision Limited
 * @creation date       17/05/2007
 * @version             $Revision: 1.1.4.2 $
 */

public class AttributeMissingException extends LdapImportException {

  public static final String REVISION = "$Revision: 1.1.4.2 $";
    
  protected static final String ERR_CODE="errors.user.ldap_import_attribute_missing";
  
  private String missingAttributeKey=null;
  
  public AttributeMissingException(String missingAttribute) {
    super(ERR_CODE, (Exception)null, missingAttribute);
    this.missingAttributeKey = missingAttribute;
  }
  
  public String getMissingAttributeKey(){
    return missingAttributeKey;
  }
  
}


